/*
 * Filename DiseaseLevel.java 2022年05月23日
 * Copyright © Ehome Co.Ltd. All Rgiths Reserved.
 * @author wuyingchao
 */
package com.ehome.poct.core.api.constant.enums;

import lombok.Getter;

/**
 * 疾病风险级别
 *
 * @author wyc
 * @since 2022/05/23 14:40
 **/
@Getter
public enum DiseaseRiskLevel {
    /**
     * 红
     */
    HIGH(1, "#ff3c3c", "高风险"),
    /**
     * 橙
     */
    MEDIUM(2, "#ff933c", "中风险"),
    /**
     * 蓝
     */
    LOW(3, "#4ca9ff", "低风险");
    private final int level;
    private final String color;
    private final String desc;

    DiseaseRiskLevel(int level, String color, String desc) {
        this.level = level;
        this.color = color;
        this.desc = desc;
    }
}